package com.deep.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.deep.common.utils.PageUtils;
import com.deep.product.model.entity.SpuInfoEntity;
import com.deep.product.model.vo.SpuSaveVO;

import java.util.Map;

/**
 * spu信息
 *
 * @author deep
 * @email ${email}
 * @date 2022-01-13 17:09:54
 */
public interface SpuInfoService extends IService<SpuInfoEntity> {

    PageUtils queryPage(Map<String, Object> params);

    /**
     * 保存商品所有信息
     */
    void saveSpuInfo(SpuSaveVO spuSaveVO);

    PageUtils queryDetail(Map<String, Object> params);

    void up(Long spuId);

    SpuInfoEntity getSpuInfoBySkuId(Long skuId);
}

